package com.haogu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haogu.entity.Employee;
import com.haogu.entity.PEmployee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    /**
     * 分页显示员工
     */
    List<PEmployee> listEmployee(@Param("page") Integer page,@Param("rows") Integer rows,@Param("name") String name);
}
